package com.sxbbc.common.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sxbbc.common.core.entity.jz.CAccount;

import java.math.BigDecimal;

/**
 * <p>
 * 用户资金账户表 服务类
 * </p>
 *
 * @author leehao
 * @since 2019-05-07
 */
public interface ICAccountService extends IService<CAccount> {

    CAccount selectByCid(Integer cid);

    boolean updateByCid(CAccount cAccount);

    /**
     * 账户余额总额
     * @return
     */
    BigDecimal sumAccount();
}
